<template> 
    <el-menu router >
        <el-submenu>
            <el-menu-item index="/student">
                <el-icon>
                    <Location />
                </el-icon>
                <span>学生管理</span>
            </el-menu-item>
            <el-menu-item index="/test">
                <el-icon>
                    <Setting />
                </el-icon>
                <span>系统管理</span>
            </el-menu-item>
        </el-submenu>
    </el-menu>
</template>

<script>
import { Location, Setting } from '@element-plus/icons';

export default {
    name: 'asideView',
    components: { Setting, Location }
}
</script>

<style></style>